#include<stdio.h>
#include<stdlib.h>

#define SIZE 128

int main(int argc,char* argv[])
{
    if(argc == 1)
        return 0;
    char buf[SIZE+1];
    for(int i = 1; i < argc; ++i)
    {
        FILE* fp = fopen(argv[i],"r");
        if(fp == NULL)
        {
            perror("LCAT");
            exit(1);
        }
        while(fgets(buf,SIZE,fp) != NULL)
        {
            printf("%s",buf);
        }
        fclose(fp);
    }
    return 0;
}